<%@page contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<h2>
	<span class="more"><a href="#" target="_blank">更多&gt;&gt;</a> </span>热销图书
</h2>
<div class="book_c_04">
	
	 <c:if test="${datas['hotBooks']== null || fn:length(datas.hotBooks) == 0}">
	 	还没有最热
 	</c:if>

     <c:if test="${fn:length(datas.hotBooks)>0 }">
	<!--热销图书A开始-->
	<c:forEach items="${datas['hotBooks'] }" var="hotBooks">
	<div class="second_d_wai">
		<div class="img">
			<a href="${pageContext.request.contextPath}/MainServlet.do?id=${hotBooks.id }&method=1"><img
					src="${pageContext.request.contextPath}/productImages/${hotBooks.product_pic }" border=0 /> </a>
		</div>
		<div class="shuming">
			<a href=href="${pageContext.request.contextPath}/MainServlet.do?id=${hotBooks.id }&method=1">${hotBooks.product_name }</a>
			<a href="#" target="_blank"></a>
		</div>
		<div class="price">
			定价：￥${hotBooks.fixed_price }
		</div>
		<div class="price">
			淘书斋价：￥${hotBooks.dang_price }
		</div>
	</div>
	<div class="book_c_xy_long"></div>
	</c:forEach>
	<!--热销图书A结束-->
	 </c:if>
	

</div>
<div class="clear"></div>